package org.worthydots.access.jpa.dao;

import java.util.List;

import org.worthydots.access.jpa.entity.TrainSchedule;

public interface TrainScheduleDAO {

	public void saveTrainSchedule(TrainSchedule trainSchedule);
	
	public void saveTrainScheduleIfNotPresent(TrainSchedule trainSchedule);

	public TrainSchedule getTrainScheduleByTrainNumber(String trainNumber);

	public List<TrainSchedule> getAllTrainSchedules();

}
